package day002;

import java.util.Scanner;

public class IfTest04 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入你的年龄：");
        int age = sc.nextInt();

        if (age >= 18 && age <= 65) {
            System.out.println("你是年轻人！");
        } else {
            System.out.println("你不年轻了！");
        }
    }
}
